package com.lz.thymeleaf.dao;

import com.lz.thymeleaf.pojo.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
@Mapper
public interface AdminDao {
    //查询管理员总数
    int findAdminNum();
    //查找管理员信息
    List<Admin> findAdmin(String name);
    //修改密码
    int changePwd(Admin admin);
    //查询管理员密码
    String findAdminPassword(String name);

}
